How can I check if an array in a JavaScript object is empty

welcome to shbcf.ru